package cn.stylefeng.guns.modular.inventory.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.stylefeng.guns.modular.inventory.mapper.InventoryGoodsStockMapper;
import java.util.List;
import cn.stylefeng.guns.modular.inventory.entity.InventoryGoodsStockEntity;
import cn.stylefeng.guns.modular.inventory.service.InventoryGoodsStockService;

/**
 * @author allen
 * @date 2021/4/11 23:22
 * @version 1.0
 */
@Service
public class InventoryGoodsStockServiceImpl extends ServiceImpl<InventoryGoodsStockMapper, InventoryGoodsStockEntity> implements InventoryGoodsStockService{

    @Override
    public int updateBatch(List<InventoryGoodsStockEntity> list) {
        return baseMapper.updateBatch(list);
    }
    @Override
    public int updateBatchSelective(List<InventoryGoodsStockEntity> list) {
        return baseMapper.updateBatchSelective(list);
    }
    @Override
    public int batchInsert(List<InventoryGoodsStockEntity> list) {
        return baseMapper.batchInsert(list);
    }
    @Override
    public int insertOrUpdate(InventoryGoodsStockEntity record) {
        return baseMapper.insertOrUpdate(record);
    }
    @Override
    public int insertOrUpdateSelective(InventoryGoodsStockEntity record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
